package com.unlcn.ils.kas.dao.model.order;

import java.io.Serializable;

import com.baomidou.mybatisplus.enums.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author qichao
 * @since 2018-05-15
 */
@TableName("kas_track_info")
public class TrackInfo extends Model<TrackInfo> {

	private static final long serialVersionUID = 1L;

	/**
	 * 主键
	 */
	@TableId(value="id", type= IdType.AUTO)
	private Integer id;
	/**
	 * 调用地址
	 */
	@TableField("call_url")
	private String callUrl;
	/**
	 * 调用开始时间
	 */
	@TableField("call_start_time")
	private Date callStartTime;
	/**
	 * 调用结束时间
	 */
	@TableField("call_end_time")
	private Date callEndTime;
	/**
	 * 车牌号
	 */
	@TableField("license_plate")
	private String licensePlate;
	/**
	 * 承运商
	 */
	private String supplier;
	/**
	 * 经度
	 */
	private String longitude;
	/**
	 * 纬度
	 */
	private String latitude;
	/**
	 * 地址
	 */
	private String address;
	/**
	 * 在途时间
	 */
	@TableField("track_time")
	private String trackTime;
	/**
	 * 地点描述
	 */
	@TableField("address_desc")
	private String addressDesc;
	/**
	 * 采集方式
	 */
	private String type;
	/**
	 * 到达标记
	 */
	@TableField("arrvie_flag")
	private String arrvieFlag;
	/**
	 * 速度
	 */
	private String speed;
	/**
	 * 是否成功发送（0否1是）
	 */
	private Integer flag;
	/**
	 * 创建时间
	 */
	@TableField("gmt_create")
	private Date gmtCreate;
	/**
	 * 上传地址
	 */
	@TableField("upload_url")
	private String uploadUrl;
	/**
	 * 上传时间
	 */
	@TableField("upload_time")
	private Date uploadTime;


	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getCallUrl() {
		return callUrl;
	}

	public void setCallUrl(String callUrl) {
		this.callUrl = callUrl;
	}

	public Date getCallStartTime() {
		return callStartTime;
	}

	public void setCallStartTime(Date callStartTime) {
		this.callStartTime = callStartTime;
	}

	public Date getCallEndTime() {
		return callEndTime;
	}

	public void setCallEndTime(Date callEndTime) {
		this.callEndTime = callEndTime;
	}

	public String getLicensePlate() {
		return licensePlate;
	}

	public void setLicensePlate(String licensePlate) {
		this.licensePlate = licensePlate;
	}

	public String getSupplier() {
		return supplier;
	}

	public void setSupplier(String supplier) {
		this.supplier = supplier;
	}

	public String getLongitude() {
		return longitude;
	}

	public void setLongitude(String longitude) {
		this.longitude = longitude;
	}

	public String getLatitude() {
		return latitude;
	}

	public void setLatitude(String latitude) {
		this.latitude = latitude;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getTrackTime() {
		return trackTime;
	}

	public void setTrackTime(String trackTime) {
		this.trackTime = trackTime;
	}

	public String getAddressDesc() {
		return addressDesc;
	}

	public void setAddressDesc(String addressDesc) {
		this.addressDesc = addressDesc;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public String getArrvieFlag() {
		return arrvieFlag;
	}

	public void setArrvieFlag(String arrvieFlag) {
		this.arrvieFlag = arrvieFlag;
	}

	public String getSpeed() {
		return speed;
	}

	public void setSpeed(String speed) {
		this.speed = speed;
	}

	public Integer getFlag() {
		return flag;
	}

	public void setFlag(Integer flag) {
		this.flag = flag;
	}

	public Date getGmtCreate() {
		return gmtCreate;
	}

	public void setGmtCreate(Date gmtCreate) {
		this.gmtCreate = gmtCreate;
	}

	public String getUploadUrl() {
		return uploadUrl;
	}

	public void setUploadUrl(String uploadUrl) {
		this.uploadUrl = uploadUrl;
	}

	public Date getUploadTime() {
		return uploadTime;
	}

	public void setUploadTime(Date uploadTime) {
		this.uploadTime = uploadTime;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

	@Override
	public String toString() {
		return "KasTrackInfo{" +
				", id=" + id +
				", callUrl=" + callUrl +
				", callStartTime=" + callStartTime +
				", callEndTime=" + callEndTime +
				", licensePlate=" + licensePlate +
				", supplier=" + supplier +
				", longitude=" + longitude +
				", latitude=" + latitude +
				", address=" + address +
				", trackTime=" + trackTime +
				", addressDesc=" + addressDesc +
				", type=" + type +
				", arrvieFlag=" + arrvieFlag +
				", speed=" + speed +
				", flag=" + flag +
				", gmtCreate=" + gmtCreate +
				", uploadUrl=" + uploadUrl +
				", uploadTime=" + uploadTime +
				"}";
	}
}
